package com.jiuqi.irs.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="TB_CANCELTASK"
 *     
 */
public class TbCancelTask implements Serializable {

	private String canceltaskGuid;

	private String canceltaskName;

	private String canceltaskState;

	private String canceltaskYear;

	private String canceltaskStarttime;

	private String canceltaskEndtime;

	private String handlePerson;

	private String reserved1;

	private String reserved2;

	private String reserved3;

	public String getCanceltaskGuid() {
		return canceltaskGuid;
	}

	public void setCanceltaskGuid(String canceltaskGuid) {
		this.canceltaskGuid = canceltaskGuid;
	}

	public String getCanceltaskName() {
		return canceltaskName;
	}

	public void setCanceltaskName(String canceltaskName) {
		this.canceltaskName = canceltaskName;
	}

	public String getCanceltaskState() {
		return canceltaskState;
	}

	public void setCanceltaskState(String canceltaskState) {
		this.canceltaskState = canceltaskState;
	}

	public String getCanceltaskYear() {
		return canceltaskYear;
	}

	public void setCanceltaskYear(String canceltaskYear) {
		this.canceltaskYear = canceltaskYear;
	}

	public String getCanceltaskStarttime() {
		return canceltaskStarttime;
	}

	public void setCanceltaskStarttime(String canceltaskStarttime) {
		this.canceltaskStarttime = canceltaskStarttime;
	}

	public String getCanceltaskEndtime() {
		return canceltaskEndtime;
	}

	public void setCanceltaskEndtime(String canceltaskEndtime) {
		this.canceltaskEndtime = canceltaskEndtime;
	}

	public String getHandlePerson() {
		return handlePerson;
	}

	public void setHandlePerson(String handlePerson) {
		this.handlePerson = handlePerson;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public TbCancelTask(String canceltaskGuid, String canceltaskName,
			String canceltaskState, String canceltaskYear,
			String canceltaskStarttime, String canceltaskEndtime,
			String handlePerson, String reserved1, String reserved2,
			String reserved3) {
		super();
		this.canceltaskGuid = canceltaskGuid;
		this.canceltaskName = canceltaskName;
		this.canceltaskState = canceltaskState;
		this.canceltaskYear = canceltaskYear;
		this.canceltaskStarttime = canceltaskStarttime;
		this.canceltaskEndtime = canceltaskEndtime;
		this.handlePerson = handlePerson;
		this.reserved1 = reserved1;
		this.reserved2 = reserved2;
		this.reserved3 = reserved3;
	}

	public TbCancelTask() {

	}

	public TbCancelTask(String canceltaskGuid) {
		this.canceltaskGuid = canceltaskGuid;
	}

	public String toString() {
		return new ToStringBuilder(this).append("canceltaskGuid",
				getCanceltaskGuid()).toString();
	}

	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((canceltaskGuid == null) ? 0 : canceltaskGuid.hashCode());
		return result;
	}

	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TbCancelTask other = (TbCancelTask) obj;
		if (canceltaskGuid == null) {
			if (other.canceltaskGuid != null)
				return false;
		} else if (!canceltaskGuid.equals(other.canceltaskGuid))
			return false;
		return true;
	}

}
